
package com.zhitan.ems.app.iot.wrapper;
import com.zhitan.ems.app.iot.vo.DevicePropertyGroupVO;
import com.zhitan.ems.app.iot.entity.DevicePropertyGroupEntity;
import lombok.AllArgsConstructor;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 设备属性分组 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-29 22:33:27
 */
public class DevicePropertyGroupWrapper extends BaseEntityWrapper<DevicePropertyGroupEntity, DevicePropertyGroupVO>  {
    public static DevicePropertyGroupWrapper build() {
        return new DevicePropertyGroupWrapper();
    }
	@Override
	public DevicePropertyGroupVO entityVO(DevicePropertyGroupEntity devicePropertyGroup) {
		if(devicePropertyGroup==null) {
			return null;
		}
		DevicePropertyGroupVO devicePropertyGroupVO = BeanUtil.copy(devicePropertyGroup, DevicePropertyGroupVO.class);
		return devicePropertyGroupVO;
	}

}
